const DEV_HOST = '127.0.0.1:9000';

export default {
  dev: {
    '/api': {
      target: `http://127.0.0.1:9000`,
      changeOrigin: true,
      headers: {
        Host: DEV_HOST,
      },
      secure: false,
      pathRewrite: { '^/api': '' },
    },
    '/fileupload': {
      target: `http://${DEV_HOST}`,
      changeOrigin: true,
      headers: {
        Host: DEV_HOST,
      },
      secure: false,
    },
    '/filedownload': {
      target: `http://${DEV_HOST}`,
      changeOrigin: true,
      headers: {
        Host: DEV_HOST,
      },
      secure: false,
    },
    '/bff': {
      target: `http://${DEV_HOST}`,
      changeOrigin: true,
      headers: {
        Host: DEV_HOST,
      },
      secure: false,
    },
  }, 
};
